package com.tyk.bookstore.back.comment.repository;


import com.tyk.bookstore.back.comment.model.dto.CommentNum4TaskDto;
import com.tyk.bookstore.back.comment.model.entity.CommentDo;
import com.tyk.bookstore.back.common.dal.mapper.IMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author tyk
 * @description 评论管理
 */
@Mapper
public interface CommentRepository extends IMapper<CommentDo> {


    /**
     * 获取各书籍评论数量
     */
    List<CommentNum4TaskDto> selectCommentNum4TaskDtoList();
}
